package cn.iocoder.yudao.module.train.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 课程新增/修改 Request VO")
@Data
public class CourseSaveReqVO {

    @Schema(description = "课程ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23404")
    private Integer id;

    @Schema(description = "课程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "课程名称不能为空")
    private String name;

    @Schema(description = "课程组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4878")
    @NotNull(message = "课程组ID不能为空")
    private Long groupId;

    @Schema(description = "课程介绍")
    private String intro;

    @Schema(description = "课程排序")
    private Integer courseSort;


}
